home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1600.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  1.5 KB  |  75 lines

  1. 162
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. SetFileInfo 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baSetFileInfo sets the type and creator of a file.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baSetFileInfo( FileName, Type, Creator )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String. 
  36. --- RECORDSEPARATOR ---
  37. FileName is the file to set the info of. 
  38. --- RECORDSEPARATOR ---
  39. Type is the four character type code to set. 
  40. --- RECORDSEPARATOR ---
  41. Creator is the four character creator code to set.
  42. --- RECORDSEPARATOR ---
  43.  
  44. --- RECORDSEPARATOR ---
  45. Returns:
  46. --- RECORDSEPARATOR ---
  47.  
  48. --- RECORDSEPARATOR ---
  49. Integer. 
  50. --- RECORDSEPARATOR ---
  51. Returns 1 if successful, else 0.
  52. --- RECORDSEPARATOR ---
  53.  
  54. --- RECORDSEPARATOR ---
  55. Examples:
  56. --- RECORDSEPARATOR ---
  57.  
  58. --- RECORDSEPARATOR ---
  59. Director: 
  60. --- RECORDSEPARATOR ---
  61. set ok = baSetFileInfo( "HD:Data:web.htm", ΓÇ£HTMLΓÇ¥, ΓÇ£MOSSΓÇ¥ ) 
  62. --- RECORDSEPARATOR ---
  63. Authorware: 
  64. --- RECORDSEPARATOR ---
  65. OK := baSetFileInfo( "HD:Data:data.txt", ΓÇ£TEXTΓÇ¥, ΓÇ£ttxtΓÇ¥ )
  66. --- RECORDSEPARATOR ---
  67.  
  68. --- RECORDSEPARATOR ---
  69. Notes:
  70. --- RECORDSEPARATOR ---
  71.  
  72. --- RECORDSEPARATOR ---
  73. To leave either the present Type or Creator unchanged, use an empty string as the 
  74. --- RECORDSEPARATOR ---
  75. argument.